Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proto: update the bitstring dep #6607

Merged

Conversation

vincenzopalazzo
Copy link
Contributor

This is an alternative version to [1] that
update only the necessary information around our codebase to upgrade the bitstring package.

This upgrade is necessary for the user of our package that will find conflics in their codebase about packages version.

[1] #6585

@@ -1,4 +1,4 @@
import bitstring # type: ignore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does bitstring now come with type annotations?

Copy link

@dni dni Aug 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am using it here https://github.com/lnbits/bolt11 and neither mypy, pyright nor ruff are complaining :).

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i had type ignores all over the place in bolt11 before i updated to ^4

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the bitsting release notes: Type hints added throughout the code. for v4.0.1

This is an alternative version to [1] that
update only the necessary information around our codebase
to upgrade the bitstring package.

This upgrade is necessary for the user of our package that
will find conflics in their codebase about packages version.

[1] ElementsProject#6585

Co-Developed-by: @dni
Chanegelog-None
Signed-off-by: Vincenzo Palazzo <[email protected]>
@nepet
Copy link
Collaborator

nepet commented Oct 23, 2023

Rebased

@nepet
Copy link
Collaborator

nepet commented Oct 23, 2023

ACK 073584e

@rustyrussell rustyrussell merged commit dd7393e into ElementsProject:master Oct 24, 2023
38 checks passed
@vincenzopalazzo
Copy link
Contributor Author

vincenzopalazzo commented Oct 24, 2023

Thanks @nepet I forgot about this!

@vincenzopalazzo vincenzopalazzo deleted the macros/py-bitstr branch October 24, 2023 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants